<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebPage">
<head>
	<meta name="description" content="{$product_meta_description} {$listing_meta_description}" />
	<meta name="keywords" content="{$product_meta_words} {$listing_meta_words}" />
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="distribution" content="Global" />
	<meta name="author" content="Them Advertising" />
	{if $staging || $noindex}
		<meta name="robots" content="noindex,nofollow" />
	{else}
		<meta name="robots" content="index,follow" />
	{/if}
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

	<title>{$product_name|ucfirst} {$listing_seo_title}</title>
	<link href="/images/favico.png" rel="icon" type="image/png" >

	<!-- for Facebook -->
	<meta property="og:title" content="{if $listing_share_title || $product_share_title}{$listing_share_title}{$product_share_title}{else}{$product_name|ucfirst}{$listing_seo_title}{/if}" />
	<meta property="og:type" content="article" />
	<meta property="og:image" content="{$DOMAIN}{if $listing_share_image || $product_share_image}{$listing_share_image}{$product_share_image}{elseif $gallery && $gallery.0.gallery_link}{$gallery.0.gallery_link}{elseif $listing_image}{$listing_image}{else}/images/logo.png{/if}"/>
	<meta property="og:url" content="{$DOMAIN}{$REQUEST_URI}" />
	<meta property="og:description" content="{if $listing_share_text || $product_share_text}{$listing_share_text}{$product_share_text}{else}{$product_meta_description}{$listing_meta_description}{/if}" />

<!-- for Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="">
<meta name="twitter:title" content="{if $listing_share_title || $product_share_title}{$listing_share_title}{$product_share_title}{else}{$product_name|ucfirst}{$listing_seo_title}{/if}" />
<meta name="twitter:description" content="{if $listing_share_text || $product_share_text}{$listing_share_text}{$product_share_text}{else}{$product_meta_description}{$listing_meta_description}{/if}" />
<meta name="twitter:creator" content="@THEMAdvertising">
<meta name="twitter:image:src" content="{$DOMAIN}{if $listing_share_image || $product_share_image}{$listing_share_image}{$product_share_image}{elseif $gallery && $gallery.0.gallery_link}{$gallery.0.gallery_link}{elseif $listing_image}{$listing_image}{else}/images/logo.png{/if}"/>
<meta name="twitter:domain" content="{$DOMAIN}">

<!-- Schema.org -->
<meta itemprop="name" content="{$product_name|ucfirst} {$listing_seo_title}">
<meta itemprop="description" content="{$product_meta_description} {$listing_meta_description}">
<meta itemprop="image" content="{$DOMAIN}/images/logo.png">


<!-- Bootstrap -->
<link href="/includes/css/compressed.css?v=2" rel="stylesheet" media="screen">


<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
      <script type="text/javascript" src="/includes/js/html5shiv.js"></script>
      <script type="text/javascript" src="/includes/js/respond.min.js"></script>
 	<![endif]-->
 	<!--[if lt IE 10]>
 	<script type="text/javascript" src="/includes/js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
<![endif]-->
	<script type="text/javascript" src="/includes/js/jquery-1.9.1.min.js"></script>
	<style>
		#newsNavContent>div:after,.new-nav-container,.news-inside-container:after,.news-item-container:after {
			content:"";
			display:table;
			clear:both;
		}
		.home-news-img-info {
			position:absolute;
			bottom:0;left:0;right:0;
			background:rgba(100,100,100,.8);
			color:#fff;
			padding:0 2%;
			display:none;
		}
		.news-item-container:last-child {
			border:none!important;
		}
		.pagination li{
			cursor:pointer;
		}
	</style>
{block name=head}{/block}

</head>
<body>
	<header>
		{include file='desktopmenu.tpl'}
	</header>

<div class="headerbg">
		<div class="container">
		<div class="row hidden-xs">
			<div class="col-sm-12" id="cart-notification" style="display:none;">
				<div class="alert alert-info fade in text-center">
					<button class="close" aria-hidden="true" onclick="$('#cart-notification').fadeOut()" type="button">&times;</button>
					<strong></strong>
				</div>
			</div>
		</div>
	</div>
</div>

	{block name=body}{/block}
	{include file='footer.tpl'}


	<script type="text/javascript" src="/includes/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="/includes/js/jquery-ui-1.10.2.min.js"></script>
	<script type="text/javascript" src="/includes/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="/includes/js/jquery.validate.min.js"></script>
	<script type="text/javascript" src="/includes/js/localization/messages_zh.min.js"></script>
	<script type="text/javascript" src="/includes/js/jquery.selectric.min.js"></script>
	<script type="text/javascript" src="/includes/js/shopping-cart.js?v=2"></script>
	<script type="text/javascript" src="/includes/js/footable.js"></script>
	<script type="text/javascript" src="/includes/js/custom.js"></script>
	<script type="text/javascript">
	$(document).ready(function(){

	});
	function nonAplha(ID){
		var str = $(ID).val();
	   t = str.replace(/[^a-zA-Z0-9-_+]/gi,'');
	   $(ID).val(t);
	}

	if (typeof jQuery != 'undefined') {
	    jQuery(document).ready(function($) {
	        var filetypes = /\.(zip|exe|pdf|doc*|xls*|ppt*|mp3)$/i;
	        var baseHref = '';
	        if (jQuery('base').attr('href') != undefined)
	            baseHref = jQuery('base').attr('href');
	        jQuery('a').each(function() {
	            var href = jQuery(this).attr('href');
	            if (href && (href.match(/^https?\:/i)) && (!href.match(document.domain))) {
	                jQuery(this).click(function() {
	                    var extLink = href.replace(/^https?\:\/\//i, '');
	                    //_gaq.push(['_trackEvent', 'External', 'Click', extLink]);
	                    ga('send', 'event', 'External', 'Click', extLink);
											ga('oldTracker.send', 'event', 'External', 'Click', extLink);
	                    if (jQuery(this).attr('target') != undefined && jQuery(this).attr('target').toLowerCase() != '_blank') {
	                        setTimeout(function() { location.href = href; }, 200);
	                        return false;
	                    }
	                });
	            }
	            else if (href && href.match(/^mailto\:/i)) {
	                jQuery(this).click(function() {
	                    var mailLink = href.replace(/^mailto\:/i, '');
	                    //_gaq.push(['_trackEvent', 'Email', 'Click', mailLink]);
	                    ga('send', 'event', 'Email', 'Click', mailLink);
											ga('oldTracker.send', 'event', 'Email', 'Click', mailLink);
	                });
	            }
	            else if (href && href.match(/^tel\:/i)) {
	                jQuery(this).click(function() {
	                    var telLink = href.replace(/^tel\:/i, '');
	                    //_gaq.push(['_trackEvent', 'Phone', 'Click', telLink]);
	                    ga('send', 'event', 'Phone', 'Click', telLink);
											ga('oldTracker.send', 'event', 'Phone', 'Click', telLink);
	                });
	            }
	            else if (href && href.match(filetypes)) {
	                jQuery(this).click(function() {
	                    var extension = (/[.]/.exec(href)) ? /[^.]+$/.exec(href) : undefined;
	                    var filePath = href;
	                   // _gaq.push(['_trackEvent', 'Download', 'Click-' + extension, filePath]);
	                    ga('send', 'event', 'Download', 'Click-'+ extension, filePath);
	                    ga('oldTracker.send', 'event', 'Download', 'Click-'+ extension, filePath);

	                    if (jQuery(this).attr('target') != undefined && jQuery(this).attr('target').toLowerCase() != '_blank') {
	                        ;
	                        setTimeout(function() { location.href = baseHref + href; }, 200);
	                        return false;
	                    }
	                });
	            }
	        });
	    });
	}
	</script>
	{block name=tail}{/block}
</body>
</html>